import ReactDOM from 'react-dom/client';
import App from './App';
import { BrowserRouter as Router } from 'react-router-dom';
import '@/assets/css/base.css'
import { Provider } from 'react-redux';
import store from './reduxToolkit/store';
import { AliveScope } from 'react-activation'

const root = ReactDOM.createRoot(
  document.getElementById('root') as HTMLElement
);
root.render(
  <Provider store={store}>
    <Router>
      <AliveScope>
        <App />
      </AliveScope>
    </Router>
  </Provider>
)
